package com.zzq.pojo;

public class Comment {
    private int commentId;
    private int blogId;
    private int pointer;
    private String commentTime;
    private String content;

    public int getCommentId() {
        return commentId;
    }

    public void setCommentId(int commentId) {
        this.commentId = commentId;
    }

    public int getBlogId() {
        return blogId;
    }

    public void setBlogId(int blogId) {
        this.blogId = blogId;
    }

    public int getPointer() {
        return pointer;
    }

    public void setPointer(int pointer) {
        this.pointer = pointer;
    }

    public String getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(String commentTime) {
        this.commentTime = commentTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Comment(int commentId, int blogId, int pointer, String commentTime, String content) {
        this.commentId = commentId;
        this.blogId = blogId;
        this.pointer = pointer;
        this.commentTime = commentTime;
        this.content = content;
    }

    public Comment() {
    }

    @Override
    public String toString() {
        return "Comment{" +
                "commentId=" + commentId +
                ", blogId=" + blogId +
                ", pointer=" + pointer +
                ", commentTime='" + commentTime + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
